<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登陆页面</title>
    <link rel="stylesheet" href="./css/init.css">
    <link rel="stylesheet" href="./css/login.css">
</head>
<body>
    
    <div id="root">
        <div class="container">
            <div class="form-container sign-up-container">
                <form action="#">
                    <h2>注册页面</h2>
                    <div class="social-container">
                        <a href="#" class="social"><i class="fab fa-qq"></i></a>
                        <a href="#" class="social"><i class="fab fa-wechat"></i></a>
                        <a href="#" class="social"><i class="fab fa-apple"></i></a>
                    </div>
                    <input type="text" name="Name" id="Name" placeholder="请输入名字" v-model="user.name">
                    <input type="text" name="userName" id="userName" placeholder="请输入用户名" v-model="user.userName">
                    <input type="password" name="password" id="password" placeholder="请输入密码" v-model="user.password">
                    <button type="submit" class="signUp">注册</button>
                </form>
            </div>
    
            <div class="form-container sign-in-container">
                <form action="#">
                    <h2>登录页面</h2> 
                    <div class="social-container">
                        <a href="#" class="social"><i class="fab fa-qq"></i></a>
                        <a href="#" class="social"><i class="fab fa-wechat"></i></a>
                        <a href="#" class="social"><i class="fab fa-apple"></i></a>
                    </div>
                    <input type="text" name="userName" id="userName" placeholder="请输入用户名" v-model="user.userName">
                    <input type="password" name="password" id="password" placeholder="请输入密码" v-model="user.password">
                    <button type="submit" class="signUp">登录</button>
                </form>
            </div>
    
            <div class="overlay-container">
                <div class="overlay">
                    <div class="overlay-panel overlay-left">
                        <h2>新人注册!</h2>
                        <p>加入我们使用图书管理系统吧</p>
                        <button id="sign-in">登录</button>
                    </div>
                    <div class="overlay-panel overlay-right-container">
                        <h2>欢迎回来!</h2>
                        <p>图书管理系统</p>
                        <button id="sign-up">注册</button>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <script src="./js/login.js"></script>
    <script src="./vue/vue.js"></script>
    
    <!-- <script>
        new Vue({
            el:'#root',
            data(){
                return {
                    user:{
                        userName:'',
                        password:'',
                        name:''
                    }
                }
            }
        })
    </script> -->
</body>
</html>